package cn.jetpiece.cloud.joss.api.object.model.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.jetpiece.cloud.model.page.PageQuery;

/**
 * <p>
 * 桶分页查询条件
 * </p>
 *
 * @author XuJZ
 * @since 2020-09-05
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class BucketQuery extends PageQuery {

    /**
     * 桶名称
     */
    @ApiModelProperty(value = "桶名称")
    private String bucketName;

    /**
     * 服务商UUID
     */
    @ApiModelProperty(value = "服务商UUID")
    private String providerId;

    /**
     * 域UUID
     */
    @ApiModelProperty(value = "域UUID")
    private String regionId;

    /**
     * 存储类型UUID
     */
    @ApiModelProperty(value = "存储类型UUID")
    private String storageClassId;

    /**
     * 数据冗余类型(1:单可用区,2:多可用区)
     */
    @ApiModelProperty(value = "数据冗余类型(1:单可用区,2:多可用区)")
    private Integer dataRedundancyType;

    /**
     * 数据权限(1:私有,2:公共可读)
     */
    @ApiModelProperty(value = "数据权限(1:私有,2:公共可读)")
    private Integer acl;
}
